home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows Expert
/
Windows Expert.iso
/
windownt
/
grep16.zip
/
MAKEFILE
< prev
next >
Wrap
Text File
|
1993-02-25
|
683b
|
31 lines
#
# Makefile for GNU e?grep
#
# NT port by Michael Caldwell (mcaldwel@netcom.com).
#
!include <ntwin32.mak>
.c.obj:
$(cc) $(cflags) $(cvars) -DSTDC_HEADERS $*.c
$(cvtobj) $*.obj
OBJS = alloca.obj dfa.obj regex.obj getopt.obj
GOBJ = grep.obj
EOBJ = egrep.obj
setargv = \mstools\lib\setargv.obj
all: grep.exe egrep.exe
grep.exe: $(OBJS) $(GOBJ)
$(link) $(conflags) -out:grep.exe $(OBJS) $(GOBJ) $(setargv) $(conlibs)
egrep.exe: $(OBJS) $(EOBJ)
$(link) $(conflags) -out:egrep.exe $(OBJS) $(EOBJ) $(setargv) $(conlibs)
egrep.obj: grep.c
$(cc) $(cflags) $(cvars) -DEGREP -DSTDC_HEADERS grep.c
$(cvtobj) $*.obj
$(OBJS) $(GOBJ) $(EOBJ): *.h